PEP 518: Do not mention wheel in default [build-system] requires#4603
PEP 518: Do not mention wheel in default [build-system] requires#4603ncoghlan merged 1 commit intopython:mainfrom
Conversation
It was never necessary. In the past, setuptools would pull it in through the PEP 517 hook, only when building the wheels. During PyCon 2024, though, wheel moved into the setuptools' codebase and so it's always bundled now, in the modern versions.
|
Normally we don't update historical PEPs and prefer to update the living spec instead, but we don't have the And it might be worth updating this as well -- I'll leave that decision to the PEP authors. I don't think we need SC approval. |
webknjaz
left a comment
There was a problem hiding this comment.
I think it's good to update since I've been observing people copying this into new projects but never knew where they kept finding the bad example.. The PyPUG link might be good to have but I don't think that should block this PR.
|
cc @ncoghlan |
|
I think the history here is that we wrote the PEP 518 examples before If anyone wants to add a canonical reference header, the relevant target would be https://packaging.python.org/en/latest/specifications/pyproject-toml/#declaring-build-system-dependencies-the-build-system-table (I won't hold this PR up for that, though) |
|
For checklist completion, I marked it as an editorial change (as the commit message states, this explicit dependency declaration was never necessary in practice, we just didn't know it wasn't going to be necessary when the PEP was written) |
It was never necessary. In the past, setuptools would pull it in through the PEP 517 hook, only when building the wheels. During PyCon 2024, though, wheel moved into the setuptools' codebase and so it's always bundled now, in the modern versions.
PEP 123: Summary of changes)cc @webknjaz, whose rationale I copied to the commit message.
This is a change to an accepted/final PEP and is not editorial, but reflects the reality. Is Steering Council approval necessary?(Edited by @ncoghlan: I think this is an editorial change, since it's just fixing a bug in the example config rather than changing anything in the specification. I have merged it on that basis)
📚 Documentation preview 📚: https://pep-previews--4603.org.readthedocs.build/